//
//  AudioPlayerManager.h
//  AwesomeRecorder
//
//  Created by Xing on 2019/11/29.
//  Copyright © 2019 Xing. All rights reserved.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface AudioPlayerManager : NSObject

@property(nonatomic,assign) BOOL isPlaying;

@property(nonatomic,copy) void(^didFinishAction)(void);

+ (instancetype)sharedInstance;

- (void)startWithPath:(NSString *)path;

- (void)play;

- (void)stop;

- (void)pause;

- (NSTimeInterval)currentTime;

@end

NS_ASSUME_NONNULL_END
